package cn.itsource.blog.mapper;

import cn.itsource.blog.domain.User;
import cn.itsource.query.BaseQuery;

import java.util.List;

public interface UserMapper {
    void save(User user);

    void update(User user);

    void delete(Long id);

    User get(Long id);

    List<User> getAllByQuery(BaseQuery userQuery);

    void batchDelete(List<User> users);
}
